From: Carlos Garnacho Date: Thu, 28 May 2020 11:38:36 +0000 (+0200) Subject: padOsd: Fix double styling X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~684^2^2~341 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=963f96292deb4907eead60c5e2c7326574c1f8d6;p=gnome-shell.git padOsd: Fix double styling We set the StLabel style property, there's no need to re-apply the large/bold text style via markup. Makes the StLabel text size consistent across editable state changes. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1290 --- diff --git a/js/ui/padOsd.js b/js/ui/padOsd.js index d898c3560..221c8ddd6 100644 --- a/js/ui/padOsd.js +++ b/js/ui/padOsd.js @@ -868,8 +868,7 @@ var PadOsd = GObject.registerClass({ this._tipLabel.set_text(_("Press any key to exit")); } - this._titleLabel.clutter_text.set_markup( - '%s'.format(title)); + this._titleLabel.set_text(title); } _isEditedAction(type, number, dir) {